@media (max-width: 767.5px) {
    .isNotMobile {
        display: none;
        width: 0;
        height: 0;
        visibility: hidden;
        position: absolute;
    }

    .isMobile .mb-5 {
        margin-bottom: 15px !important
    }
}
@media (min-width: 767.4px) {
    .isMobile {
        display: none;
        width: 0;
        height: 0;
        visibility: hidden;
        position: absolute;
    }


}

@media (min-device-width:767.5px) {
    .tt-product:not(.tt-view) .tt-description {
        padding-top: 7px;
    }

    .tt-product-single-info .tt-wrapper.description-box {
        border-top: 1px solid #e9e7e7;
        padding-top: 10px;
        margin-top: 10px;
    }

    .productDetail {
        padding-left: 15px;
    }

    .tt-block-aside:first-child{
        margin-top: 25px;
    }
    .checkoutForm .col {
        margin-right: 10px;
        margin-left: 10px;
    }

    .checkoutForm .col + .col {
        margin-left: 0
    }
}

footer .tt-collapse-content {
    padding-top: 0;
}

.tt-product-single-info .tt-price {
    color: #666
}

.relatedItemWrapper {
    display: grid;
    grid-template-columns: repeat(4, calc(100% / 4))
}

.relatedItem {
    text-align: center;
}

.relatedItem {
    padding-right: 8px;
}

.relatedItem:last-child {
    padding-right: 0;
}
.relatedItemImage {
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 3px;
    margin-bottom: 7px;
}

.relatedItemImage img {
    max-width:100%;
    object-fit: contain;
}

.relatedItemNoImage {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    opacity: .5;
}
.comments-single-post .tt-title-border {
    text-align: center;
}

.tt-title a {
    color: #222;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tt-shopcart-table-02 table tr td[data="product-detail"] {
    vertical-align: top;
    padding-top: 15px;
}

.relatedItem:hover a {
    color: #0056b3
}
.oldPrice {
    text-decoration: line-through;
}

.shopcart-action {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    align-items: center;
    padding: 20px 0;
}

.shopcart-action a + a {
    margin-left: 15px;
}

.itemOrder {
    line-height: 1.4em
}
.itemOrder + .itemOrder {
    margin-top: 15px;
}

.totalPriceCheckout {
    color: red;
    font-weight: 500
}

#navigator a {
    text-transform: uppercase;
}

.tt-desctop-parent-menu .goToHome {
    display: none ;
}
.tt-stuck-nav.stuck #navigator .goToHome {
    display: inherit;
}

.tt-title-subpages:not(.text-left):not(.text-right) {
    font-size: 23px;
    line-height: 31px;
    letter-spacing: 0.03em;
    font-weight: 500;
    padding: 15px 0;
    text-align: left;
}



@media (min-device-width: 767.5px) and (max-device-width: 1024.4px) {
    .tt-product-single-info .tt-price {
        margin-bottom: 0;
    }

    .tt-shopcart-table-02 .tt-price:not(.subtotal) {
        text-align: right;
    }

    h5:not([class^="tt-title"]):not([class^="tt-collapse"]):not([class^="tt-aside"]) {
        font-size: 15px;
    }

}
@media (min-device-width: 767.5px) and (max-device-width: 1024.4px) and (orientation:portrait) {

    .container {
        max-width: calc(100vw - 60px);
    }

    .tt-product-listing .col-6,
    .tt-layout-product-item .col-6 {
        flex: 0 0 calc(100% / 3);
        max-width: calc(100% / 3);
    }

    .tt-product-vertical-layout .tt-product-single-carousel-vertical .slick-slider:before {
        display: none;
    }
    .container.bottom_border .row {
        display: grid;
        grid-template-columns: repeat(4, calc(100% / 4));
        padding: 0 8px;
    }
    .container.bottom_border .row .col-sm-4 {
        flex: 100%;
        max-width: 100%;
    }

}
@media (min-device-width: 767.5px) and (max-device-width: 1024.4px) and (orientation:landscape) {

    .isTablet {
        display: inherit;
    }
    .container {
        max-width: calc(100vw - 60px);
    }

    .remove-all-cart-item {
        /* display: none; */
    }

    .tt-product-vertical-layout .tt-product-single-carousel-vertical .slick-slider:before {
        display: none;
    }
}
@media (max-device-width: 767.4px) {
    .isMobile {
        display: inherit;
    }
    .isTablet,
    .isDesktop {
        display: none !important;
        position: absolute;
    }

    .tt-product-single-info .tt-wrapper {
        margin: 7px auto;
    }
    .tt-product-single-info .tt-row-custom-01 .col-item:not(:first-child) {
        margin-top: 0;
    }

    .slick-slider img {
        height: 280px;
    }

    footer .tt-social-icon {
        justify-content: center;
    }

    .tt-filters-options h1 {
        display: none;
        position: absolute;
    }

    #tt-pageContent>.container-indent:not(.nomargin):not([class^="tt-offset"]) {
        margin-top: 15px;
    }

    .tt-layout-product-item:not(.tt-view) .tt-product,
    .tt-product-listing>.tt-col-item {
        margin: 0;
    }
    .tt-description .tt-title {
        height: auto;
    }
    .cart-total-amount {
        color: red;
    }

    .tt-layout-product-item:not(.tt-view) {
        margin: 0;
    }

    .relatedItemWrapper {
        display: grid;
        grid-template-columns: repeat(2, calc(100% / 2));
        padding: 0 8px;
    }

    .relatedItem {
        padding-right: 8px;
        padding-bottom: 16px;
    }

    .relatedItem:last-child {
        padding-right: 0;
    }
    .relatedItemImage {
        height: 115px;
    }

    .recent-product-title.text-left {
        text-align: center !important;
        font-size: 16px;
        font-weight: 600;
    }

    .recent-product-title::after {
        left: calc(50% - 100px);
    }

    .container.bottom_border .row {
        padding: 0 8px;
    }

    .socialMobile {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    footer .socialMobile .tt-social-icon {
        margin: 0 5px;
    }

    .socialMobile .tt-social-icon li a {
        font-size: 25px;
        line-height: 32px;
    }

    .footer_ul_amrc a {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 90%;
    }


    .tt-block-title .tt-title,
    .tt-collapse-block .tt-item .tt-collapse-title {
        font-size: 19px;
        line-height: 25px;
    }

    .tt-collapse-content {
        padding-top: 15px;
    }
}
